from time import sleep
from selenium import webdriver
from selenium.webdriver.common.by import By



driver=webdriver.Chrome()
driver.get("http://192.168.46.5:18089/login")
driver.find_element(By.NAME,"username").send_keys("XTGLY")
driver.find_element(By.NAME,"password").send_keys("123456")
driver.implicitly_wait(3)
driver.find_element(By.NAME,"signIn").click()
driver.find_element(By.LINK_TEXT,'客户信息').click()
sleep(3)

# 实现页面中滚动条的横向和纵向移动。
driver.execute_script("window.scrollTo(0,400)")